package com.netcracker.studportal.server.util;

import com.netcracker.studportal.server.dao.*;
import com.netcracker.studportal.server.dao.impl.*;

public class FactoryDAO {
	public static StudentDAO getStudentDAO(){	
		StudentDAO dao=StudentDAOImpl.getInstance();
		return dao;
	}
	public static ProfessorDAO  getProfessorDAO(){
		ProfessorDAO dao=ProfessorDAOImpl.getInstance();
		return dao;
	}
	public static UniversityDAO getUniversityDAO(){
		UniversityDAO dao=UniversityDAOImpl.getInstance();
		return dao;
	}
	public static SubjectDAO getSubjectDAO(){
		SubjectDAO dao=SubjectDAOImpl.getInstance();
		return dao;
	}
	public static ExamDAO getExamDAO(){
		ExamDAO dao=ExamDAOImpl.getInstance();
		return dao;
	}
	public static FacultyDAO getFacultyDAO(){
		FacultyDAO dao=FacultyDAOImpl.getInstance();
		return dao;
	}
	public static UserDAO getUsersDAO(){
		UserDAO dao=UserDAOImpl.getInstance();
		return dao;
	}
	public static MaterialDAO getMaterialDAO(){
		MaterialDAO dao=MaterialDAOImpl.getInstance();
		return dao;
	}
	
	public static ExamWithResultDAO getExamWithResultDAO(){
		ExamWithResultDAO dao=ExamWithResultDAOImpl.getInstance();
		return dao;
	}
	
}
